The issue is described in bugzilla report #746.
Signed-off-by: Keir Fraser <keir@xensource.com>
#include <linux/skbuff.h>
#include <linux/ethtool.h>
#include <net/dst.h>
-#include <asm/hypervisor.h> /* is_initial_xendomain() */
+#include <net/xfrm.h> /* secpath_reset() */
+#include <asm/hypervisor.h> /* is_initial_xendomain() */
static int nloopbacks = -1;
module_param(nloopbacks, int, 0);
skb->protocol = eth_type_trans(skb, dev);
skb->dev = dev;
dev->last_rx = jiffies;
+
+ /* Flush netfilter context: rx'ed skbuffs not expected to have any. */
+ nf_reset(skb);
+ secpath_reset(skb);
+
netif_rx(skb);
return 0;